package com.store.controller.yzh;

import com.store.entity.Seller;
import com.store.service.hzl.IndexService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * ClassName:IndexBusinessesController
 * package:com.store.controller.yzh
 * Description:
 *
 * @Date:2021/1/19 15:04
 * @Author: 叶志豪
 */
@Controller
@RequestMapping("/index_yzh")
public class IndexBusinessesController {
    @Autowired
    private IndexService indexService;

    @RequestMapping("toIndexBusinesses")
    public String toIndexBusinesses(){
        return "Businesses/indexBusinesses";
    }

    @RequestMapping("toHome")
    public String toHome(){
        return "Businesses/home";
    }

    //修改资料
    @RequestMapping("toSeller")
    public String toSeller(){

        return "Businesses/seller";
    }

    //修改密码
    @RequestMapping("toPassword")
    public String toPassword(){
        return "Businesses/password";
    }

    //新曾商品
    @RequestMapping("toGoods_edit")
    public String toGoods_edit(){

        return "Businesses/goods_edit";
    }

    //商品管理
    @RequestMapping("toGoods")
    public String toGoods(){
        return "Businesses/goods";
    }
}
